﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="StudentsForm.aspx.cs" Inherits="Students.StudentsForm" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <span>First Name:</span>
    <asp:TextBox runat="server" id="firstName"/>
    <br />
    <span>Last Name:</span>
    <asp:TextBox runat="server" id="lastName"/>
    <br />
    <span>Faculty Number:</span>
    <asp:TextBox runat="server" id="facNumber"/>
    <br />
    <span>University</span>
    <asp:DropDownList ID="university" runat="server" AutoPostBack="true" OnTextChanged="LoadSpec">
        <asp:ListItem Text="TU-Sofia" />
        <asp:ListItem Text="Sofia Uni" />
        <asp:ListItem Text="UNSS" />
        <asp:ListItem Text="UASG" />
    </asp:DropDownList>
    <br />
    <span>Specialisation</span>
    <asp:DropDownList ID="spec" runat="server">
        <%--<asp:ListItem Text="KST" />
        <asp:ListItem Text="SoftWare Eng." />
        <asp:ListItem Text="Comp Science" />
        <asp:ListItem Text="KTT" />--%>
    </asp:DropDownList>
    <br />
    <asp:ListBox runat="server" ID="courses" SelectionMode="Multiple" Width="150px" Height="150px">
        <%--<asp:ListItem Text="mathematics" />
        <asp:ListItem Text="Informathics" />
        <asp:ListItem Text="biologics" />
        <asp:ListItem Text="sport" />
        <asp:ListItem Text="front-end" />
        <asp:ListItem Text="HQ coding" />
        <asp:ListItem Text="asp.net developing" />
        <asp:ListItem Text="algorithms" />--%>
    </asp:ListBox>
    <br />
    <asp:Button Text="Submit" runat="server" ID="submit" OnClick="ShowData" />
    <asp:Panel runat="server" id="result" Visible="false">
    </asp:Panel>
    </form>
    
</body>
</html>
